package cn.com.haopy.dataes.db.entity.main;

import cn.com.haopy.dataes.db.entity.MainBaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

import java.time.LocalDateTime;

@Data
@TableName(value = "hd_notice_admin", autoResultMap = true)
public class HDNoticeAdmin extends MainBaseEntity {
    @TableField(value = "notice_id", jdbcType = JdbcType.INTEGER)
    Integer noticeId;

    @TableField(value = "notice_title", jdbcType = JdbcType.VARCHAR)
    String noticeTitle;

    @TableField(value = "admin_id", jdbcType = JdbcType.INTEGER)
    Integer adminId;

    @TableField(value = "read_time")
    LocalDateTime readTime;
}
